//
//  Home_ZP_02CollectionViewCell.m
//  
//
//  Created by dllo on 16/8/11.
//
//

#import "Home_ZP_02CollectionViewCell.h"
@interface Home_ZP_02CollectionViewCell ()
@property (nonatomic, retain) UIImageView *imageUrl;


@end
@implementation Home_ZP_02CollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self){
        self.imageUrl = [[UIImageView alloc]init];
        [self.contentView addSubview:self.imageUrl];
        
        
        
        
    }
    return self;
}
-(void)layoutSubviews{
    [super layoutSubviews];
    
    self.imageUrl.frame = self.contentView.bounds;
    
    
    
    
}





-(void)setImagestring:(NSString *)imagestring{
    _imagestring = imagestring;
    [self.imageUrl sd_setImageWithURL:[NSURL URLWithString:_imagestring]];
    

    
    
}











@end
